package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.TravelLike;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ITravelLikeService {

    void save(TravelLike travelLike);

    void updateStatus(TravelLike travelLike);

    int countNumByCommentId(Long commentId);

    int getStatusByLikerId(TravelLike travelLike);

    void delete(TravelLike travelLike);

    int countNumBytravelId(Long userId);

    PageInfo getTravelLikerById(QueryObject qo);

    void changBrowerStatus(Long userId);
}
